<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:forgeview="http://jboss.org/forge/view"	
	template="/resources/templates/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{saleLoanPaymentBean.id}"/>
		<f:event type="preRenderView" listener="#{saleLoanPaymentBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="Create Sale Loan Payment"/>

	<ui:define name="header">
		Sale Loan Payment
	</ui:define>

	<ui:define name="subheader">
		<c:choose>
			<c:when test="#{!empty saleLoanPaymentBean.id}">
				Edit existing Sale Loan Payment
			</c:when>
			<c:otherwise>
				Create a new Sale Loan Payment
			</c:otherwise>
		</c:choose>
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:form id="create">
			<h:messages globalOnly="true" styleClass="error"/>

			<h:panelGrid columnClasses="label,component,required" columns="3">
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentSaleLoanContract" value="Sale Loan Contract:"/>
				<h:panelGroup>
					<h:selectOneMenu converter="#{saleLoanContractBean.converter}" id="saleLoanPaymentBeanSaleLoanPaymentSaleLoanContract" value="#{saleLoanPaymentBean.saleLoanPayment.saleLoanContract}">
						<f:selectItem/>
						<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{saleLoanContractBean.all}" var="_item"/>
					</h:selectOneMenu>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentSaleLoanContract" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayOrgNo" value="Pay Org No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPayOrgNo" value="#{saleLoanPaymentBean.saleLoanPayment.payOrgNo}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPayOrgNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentDueDate" value="Due Date:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentDueDate" maxLength="10" value="#{saleLoanPaymentBean.saleLoanPayment.dueDate}">
						<f:convertDateTime type="date"/>
					</h:inputText>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentDueDate" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentInstallmentValPerMonth" value="Installment Val Per Month:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentInstallmentValPerMonth" value="#{saleLoanPaymentBean.saleLoanPayment.installmentValPerMonth}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentInstallmentValPerMonth" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPrincipalVal" value="Principal Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPrincipalVal" value="#{saleLoanPaymentBean.saleLoanPayment.principalVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPrincipalVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayPrincipalVal" value="Pay Principal Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPayPrincipalVal" value="#{saleLoanPaymentBean.saleLoanPayment.payPrincipalVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPayPrincipalVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentInterestVal" value="Interest Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentInterestVal" value="#{saleLoanPaymentBean.saleLoanPayment.interestVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentInterestVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayInterestVal" value="Pay Interest Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPayInterestVal" value="#{saleLoanPaymentBean.saleLoanPayment.payInterestVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPayInterestVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentLoanFeeVal" value="Loan Fee Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentLoanFeeVal" value="#{saleLoanPaymentBean.saleLoanPayment.loanFeeVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentLoanFeeVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeVal" value="Pay Loan Fee Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeVal" value="#{saleLoanPaymentBean.saleLoanPayment.payLoanFeeVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentInstallmentVal" value="Installment Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentInstallmentVal" required="true" value="#{saleLoanPaymentBean.saleLoanPayment.installmentVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentInstallmentVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText value="*"/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayInstallmentVal" value="Pay Installment Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPayInstallmentVal" required="true" value="#{saleLoanPaymentBean.saleLoanPayment.payInstallmentVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPayInstallmentVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText value="*"/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPrincipalRemainVal" value="Principal Remain Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPrincipalRemainVal" required="true" value="#{saleLoanPaymentBean.saleLoanPayment.principalRemainVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPrincipalRemainVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText value="*"/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentInterestRemainVal" value="Interest Remain Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentInterestRemainVal" required="true" value="#{saleLoanPaymentBean.saleLoanPayment.interestRemainVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentInterestRemainVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText value="*"/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentLoanFeeRemainVal" value="Loan Fee Remain Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentLoanFeeRemainVal" value="#{saleLoanPaymentBean.saleLoanPayment.loanFeeRemainVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentLoanFeeRemainVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentInstallmentRemainVal" value="Installment Remain Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentInstallmentRemainVal" required="true" value="#{saleLoanPaymentBean.saleLoanPayment.installmentRemainVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentInstallmentRemainVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText value="*"/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayOthOrgStatus" value="Pay Oth Org Status:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPayOthOrgStatus" value="#{saleLoanPaymentBean.saleLoanPayment.payOthOrgStatus}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPayOthOrgStatus" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayOthOrgLoanFeeVal" value="Pay Oth Org Loan Fee Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPayOthOrgLoanFeeVal" value="#{saleLoanPaymentBean.saleLoanPayment.payOthOrgLoanFeeVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPayOthOrgLoanFeeVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayDtm" value="Pay Dtm:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPayDtm" maxLength="19" value="#{saleLoanPaymentBean.saleLoanPayment.payDtm}">
						<f:convertDateTime pattern="MMM d, yyyy hh:mm:ss a" type="both"/>
					</h:inputText>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPayDtm" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayPartNo" value="Pay Part No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPayPartNo" value="#{saleLoanPaymentBean.saleLoanPayment.payPartNo}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPayPartNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentContractPayPartNo" value="Contract Pay Part No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentContractPayPartNo" value="#{saleLoanPaymentBean.saleLoanPayment.contractPayPartNo}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentContractPayPartNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentLateDayVal" value="Late Day Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentLateDayVal" value="#{saleLoanPaymentBean.saleLoanPayment.lateDayVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentLateDayVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentStatusIsManualPayFine" value="Status Is Manual Pay Fine:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentStatusIsManualPayFine" value="#{saleLoanPaymentBean.saleLoanPayment.statusIsManualPayFine}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentStatusIsManualPayFine" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentFineVal" value="Fine Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentFineVal" required="true" value="#{saleLoanPaymentBean.saleLoanPayment.fineVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentFineVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText value="*"/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeDunningLetterVal" value="Pay Loan Fee Dunning Letter Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeDunningLetterVal" value="#{saleLoanPaymentBean.saleLoanPayment.payLoanFeeDunningLetterVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeDunningLetterVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeDunningVal" value="Pay Loan Fee Dunning Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeDunningVal" value="#{saleLoanPaymentBean.saleLoanPayment.payLoanFeeDunningVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeDunningVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeOutsideVal" value="Pay Loan Fee Outside Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeOutsideVal" value="#{saleLoanPaymentBean.saleLoanPayment.payLoanFeeOutsideVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeOutsideVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeExtra3Val" value="Pay Loan Fee Extra 3Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeExtra3Val" value="#{saleLoanPaymentBean.saleLoanPayment.payLoanFeeExtra3Val}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeExtra3Val" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeExtra4Val" value="Pay Loan Fee Extra 4Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeExtra4Val" value="#{saleLoanPaymentBean.saleLoanPayment.payLoanFeeExtra4Val}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPayLoanFeeExtra4Val" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayPendingStatus" value="Pay Pending Status:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPayPendingStatus" value="#{saleLoanPaymentBean.saleLoanPayment.payPendingStatus}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPayPendingStatus" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentCompoundDebtPendingInterestVal" value="Compound Debt Pending Interest Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentCompoundDebtPendingInterestVal" value="#{saleLoanPaymentBean.saleLoanPayment.compoundDebtPendingInterestVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentCompoundDebtPendingInterestVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayCompoundDebtPendingInterestVal" value="Pay Compound Debt Pending Interest Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPayCompoundDebtPendingInterestVal" value="#{saleLoanPaymentBean.saleLoanPayment.payCompoundDebtPendingInterestVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPayCompoundDebtPendingInterestVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPendingPrincipalVal" value="Pending Principal Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPendingPrincipalVal" value="#{saleLoanPaymentBean.saleLoanPayment.pendingPrincipalVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPendingPrincipalVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPendingInterestVal" value="Pending Interest Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPendingInterestVal" value="#{saleLoanPaymentBean.saleLoanPayment.pendingInterestVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPendingInterestVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPendingLoanFeeVal" value="Pending Loan Fee Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPendingLoanFeeVal" value="#{saleLoanPaymentBean.saleLoanPayment.pendingLoanFeeVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPendingLoanFeeVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPendingInstallmentVal" value="Pending Installment Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPendingInstallmentVal" value="#{saleLoanPaymentBean.saleLoanPayment.pendingInstallmentVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPendingInstallmentVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPendingFineVal" value="Pending Fine Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPendingFineVal" value="#{saleLoanPaymentBean.saleLoanPayment.pendingFineVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPendingFineVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPendingLateDayVal" value="Pending Late Day Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPendingLateDayVal" value="#{saleLoanPaymentBean.saleLoanPayment.pendingLateDayVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPendingLateDayVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentReceiptCode" value="Receipt Code:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentReceiptCode" maxLength="50" value="#{saleLoanPaymentBean.saleLoanPayment.receiptCode}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentReceiptCode" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentReceiptByEmpNo" value="Receipt By Emp No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentReceiptByEmpNo" value="#{saleLoanPaymentBean.saleLoanPayment.receiptByEmpNo}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentReceiptByEmpNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentReceiptManualStatus" value="Receipt Manual Status:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentReceiptManualStatus" value="#{saleLoanPaymentBean.saleLoanPayment.receiptManualStatus}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentReceiptManualStatus" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentReceiptAllowPrintStatus" value="Receipt Allow Print Status:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentReceiptAllowPrintStatus" value="#{saleLoanPaymentBean.saleLoanPayment.receiptAllowPrintStatus}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentReceiptAllowPrintStatus" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentStatusIsPay" value="Status Is Pay:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentStatusIsPay" value="#{saleLoanPaymentBean.saleLoanPayment.statusIsPay}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentStatusIsPay" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentPayContractStatusNo" value="Pay Contract Status No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentPayContractStatusNo" value="#{saleLoanPaymentBean.saleLoanPayment.payContractStatusNo}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentPayContractStatusNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentStatusIsGenFinTrans" value="Status Is Gen Fin Trans:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentStatusIsGenFinTrans" value="#{saleLoanPaymentBean.saleLoanPayment.statusIsGenFinTrans}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentStatusIsGenFinTrans" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentJnSpRecNoForTmd02" value="Jn Sp Rec No For Tmd 02:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentJnSpRecNoForTmd02" value="#{saleLoanPaymentBean.saleLoanPayment.jnSpRecNoForTmd02}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentJnSpRecNoForTmd02" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentStatusIsPayAdvanced" value="Status Is Pay Advanced:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentStatusIsPayAdvanced" value="#{saleLoanPaymentBean.saleLoanPayment.statusIsPayAdvanced}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentStatusIsPayAdvanced" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentJnSpRecNo" value="Jn Sp Rec No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentJnSpRecNo" value="#{saleLoanPaymentBean.saleLoanPayment.jnSpRecNo}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentJnSpRecNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentCloseBfEndtermDiscVal" value="Close Bf Endterm Disc Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanPaymentBeanSaleLoanPaymentCloseBfEndtermDiscVal" value="#{saleLoanPaymentBean.saleLoanPayment.closeBfEndtermDiscVal}"/>
					<h:message for="saleLoanPaymentBeanSaleLoanPaymentCloseBfEndtermDiscVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentSaleLoanPaymentAdvanceds" value="Sale Loan Payment Advanceds:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{saleLoanPaymentBean.saleLoanPayment.saleLoanPaymentAdvanceds}"/>
					<h:dataTable id="saleLoanPaymentBeanSaleLoanPaymentSaleLoanPaymentAdvanceds" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Pay Installment Val"/>
							</f:facet>
							<h:link outcome="/form/saleLoanPaymentAdvanced/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemPayInstallmentVal" value="#{_item.payInstallmentVal}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanPaymentAdvancedBeanAddPayInstallmentVal" value="#{saleLoanPaymentAdvancedBean.add.payInstallmentVal}"/>
								<h:message for="saleLoanPaymentAdvancedBeanAddPayInstallmentVal" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Pay Principal Val"/>
							</f:facet>
							<h:link outcome="/form/saleLoanPaymentAdvanced/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemPayPrincipalVal" value="#{_item.payPrincipalVal}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanPaymentAdvancedBeanAddPayPrincipalVal" value="#{saleLoanPaymentAdvancedBean.add.payPrincipalVal}"/>
								<h:message for="saleLoanPaymentAdvancedBeanAddPayPrincipalVal" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Pay Interest Val"/>
							</f:facet>
							<h:link outcome="/form/saleLoanPaymentAdvanced/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemPayInterestVal" value="#{_item.payInterestVal}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanPaymentAdvancedBeanAddPayInterestVal" value="#{saleLoanPaymentAdvancedBean.add.payInterestVal}"/>
								<h:message for="saleLoanPaymentAdvancedBeanAddPayInterestVal" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Pay Loan Fee Val"/>
							</f:facet>
							<h:link outcome="/form/saleLoanPaymentAdvanced/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemPayLoanFeeVal" value="#{_item.payLoanFeeVal}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanPaymentAdvancedBeanAddPayLoanFeeVal" value="#{saleLoanPaymentAdvancedBean.add.payLoanFeeVal}"/>
								<h:message for="saleLoanPaymentAdvancedBeanAddPayLoanFeeVal" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Pay Compound Debt Pending Interest Val"/>
							</f:facet>
							<h:link outcome="/form/saleLoanPaymentAdvanced/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemPayCompoundDebtPendingInterestVal" value="#{_item.payCompoundDebtPendingInterestVal}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanPaymentAdvancedBeanAddPayCompoundDebtPendingInterestVal" value="#{saleLoanPaymentAdvancedBean.add.payCompoundDebtPendingInterestVal}"/>
								<h:message for="saleLoanPaymentAdvancedBeanAddPayCompoundDebtPendingInterestVal" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(saleLoanPaymentAdvancedBean.added)}" id="saleLoanPaymentBeanSaleLoanPaymentSaleLoanPaymentAdvancedsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{saleLoanPaymentAdvancedBean.add.saleLoanPayment}" value="#{saleLoanPaymentBean.saleLoanPayment}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanPaymentBeanSaleLoanPaymentSaleLoanPaymentReceiptCancels" value="Sale Loan Payment Receipt Cancels:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{saleLoanPaymentBean.saleLoanPayment.saleLoanPaymentReceiptCancels}"/>
					<h:dataTable id="saleLoanPaymentBeanSaleLoanPaymentSaleLoanPaymentReceiptCancels" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Old Receipt By Emp No"/>
							</f:facet>
							<h:link outcome="/form/saleLoanPaymentReceiptCancel/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemOldReceiptByEmpNo" value="#{_item.oldReceiptByEmpNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanPaymentReceiptCancelBeanAddOldReceiptByEmpNo" value="#{saleLoanPaymentReceiptCancelBean.add.oldReceiptByEmpNo}"/>
								<h:message for="saleLoanPaymentReceiptCancelBeanAddOldReceiptByEmpNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="New Receipt Code"/>
							</f:facet>
							<h:link outcome="/form/saleLoanPaymentReceiptCancel/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemNewReceiptCode" value="#{_item.newReceiptCode}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanPaymentReceiptCancelBeanAddNewReceiptCode" maxLength="50" value="#{saleLoanPaymentReceiptCancelBean.add.newReceiptCode}"/>
								<h:message for="saleLoanPaymentReceiptCancelBeanAddNewReceiptCode" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Cancel Memo"/>
							</f:facet>
							<h:link outcome="/form/saleLoanPaymentReceiptCancel/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemCancelMemo" value="#{_item.cancelMemo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanPaymentReceiptCancelBeanAddCancelMemo" maxLength="500" value="#{saleLoanPaymentReceiptCancelBean.add.cancelMemo}"/>
								<h:message for="saleLoanPaymentReceiptCancelBeanAddCancelMemo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Cancel Dtm"/>
							</f:facet>
							<h:link outcome="/form/saleLoanPaymentReceiptCancel/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemCancelDtm" value="#{_item.cancelDtm}">
									<f:convertDateTime pattern="MMM d, yyyy hh:mm:ss a" type="both"/>
								</h:outputText>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanPaymentReceiptCancelBeanAddCancelDtm" maxLength="19" value="#{saleLoanPaymentReceiptCancelBean.add.cancelDtm}">
									<f:convertDateTime pattern="MMM d, yyyy hh:mm:ss a" type="both"/>
								</h:inputText>
								<h:message for="saleLoanPaymentReceiptCancelBeanAddCancelDtm" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Cancel By Emp No"/>
							</f:facet>
							<h:link outcome="/form/saleLoanPaymentReceiptCancel/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemCancelByEmpNo" value="#{_item.cancelByEmpNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanPaymentReceiptCancelBeanAddCancelByEmpNo" value="#{saleLoanPaymentReceiptCancelBean.add.cancelByEmpNo}"/>
								<h:message for="saleLoanPaymentReceiptCancelBeanAddCancelByEmpNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(saleLoanPaymentReceiptCancelBean.added)}" id="saleLoanPaymentBeanSaleLoanPaymentSaleLoanPaymentReceiptCancelsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{saleLoanPaymentReceiptCancelBean.add.saleLoanPayment}" value="#{saleLoanPaymentBean.saleLoanPayment}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
			</h:panelGrid>

			<div class="buttons">
				<h:commandLink value="Save" action="#{saleLoanPaymentBean.update}" styleClass="btn btn-primary"/>
				<c:choose>
					<c:when test="#{!empty saleLoanPaymentBean.id}">
						<h:link value="Cancel" outcome="view" styleClass="btn btn-primary">
							<f:param name="id" value="#{saleLoanPaymentBean.id}"/>
						</h:link>
						<h:commandLink value="Delete" action="#{saleLoanPaymentBean.delete}" styleClass="btn btn-primary"/>
					</c:when>
					<c:otherwise>
						<h:link value="Cancel" outcome="search" styleClass="btn btn-primary"/>
					</c:otherwise>
				</c:choose>
			</div>
		</h:form>
	</ui:define>

</ui:composition>